1291. Sequential Digits - Day 19/30 Leetcode September Challenge